Skip to content

Conversation

@gladjohn
Copy link
Contributor

Fixes MAA token caching

Changes proposed in this request

  • adds in-memory cache

Testing
none

Performance impact
better perf as we cache MAA

Documentation

  • All relevant documentation is updated.

Robbie-Microsoft and others added 30 commits August 4, 2025 15:19
* Changes discovered from manual testing

* removed dead comment

* removed another dead comment
* Add ResetStateForTest API for test

* Keep same type

* Address PR comments
* attestation

* address pr comments

* remove console

* pr comments

* pr comments
@gladjohn gladjohn changed the title [MSI v2] MAA token is no cached [MSI v2] MAA token is now cached Oct 15, 2025
// Past refresh time? Kick a non-blocking background refresh.
if (now >= entry.RefreshOnUtc)
{
KickBackgroundRefresh(entry, input, provider);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought we discussed to not do any background refresh.

Base automatically changed from rginsburg/msiv2_feature_branch to main October 29, 2025 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants